﻿@{
    ViewBag.Title = "Add";
}
@model SimpleApp.Models.INSPIRATION
<h2>Add</h2>

@using (Html.BeginForm("Add", "Inspire", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Word</legend>

        @*<div class='form-group'>
        <div class="col-sm-2 control-label">
            @Html.LabelFor(model => model.TYPE)
        </div>
        <div class="col-sm-2">
            @Html.DropDownList("TYPE", ViewData["TYPE"] as IEnumerable<SelectListItem>,  new { @class = "form-control" })
            @Html.ValidationMessageFor(model => model.TYPE)
        </div>
        </div>*@

        <div class='form-group'>
        <div class="col-sm-2 control-label">
            @Html.LabelFor(model => model.NAME)
        </div>
        <div class="col-sm-2">
            @Html.TextBoxFor(x => x.NAME, new { @class = "form-control" })
            @Html.ValidationMessageFor(model => model.NAME)
        </div>
        </div>
        <div class='col-sm-4'>
            <button type="submit" class="btn btn-primary pull-right">Add</button>
        </div>
    </fieldset>
}
